package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopOrderItem;
import com.woniuxy.common.entity.ShopOrderItemExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopOrderItemMapper {
    long countByExample(ShopOrderItemExample example);

    int deleteByExample(ShopOrderItemExample example);

    int deleteByPrimaryKey(String itemId);

    int insert(ShopOrderItem record);

    int insertSelective(ShopOrderItem record);

    List<ShopOrderItem> selectByExample(ShopOrderItemExample example);

    ShopOrderItem selectByPrimaryKey(String itemId);

    int updateByExampleSelective(@Param("record") ShopOrderItem record, @Param("example") ShopOrderItemExample example);

    int updateByExample(@Param("record") ShopOrderItem record, @Param("example") ShopOrderItemExample example);

    int updateByPrimaryKeySelective(ShopOrderItem record);

    int updateByPrimaryKey(ShopOrderItem record);
}